package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 退订记录：(UnsubscribeRecord)表实体类
 */
@TableName("`unsubscribe_record`")
@Data
@EqualsAndHashCode(callSuper = false)
public class UnsubscribeRecord implements Serializable {

    // UnsubscribeRecord编号
    @TableId(value = "unsubscribe_record_id", type = IdType.AUTO)
    private Integer unsubscribe_record_id;

    // 退订账号
    @TableField(value = "`unsubscribe_from_account`")
    private Integer unsubscribe_from_account;
    // 用户姓名
    @TableField(value = "`user_name`")
    private String user_name;
    // 用户电话
    @TableField(value = "`user_phone_number`")
    private String user_phone_number;
    // 预订编号
    @TableField(value = "`booking_number`")
    private String booking_number;
    // 路线名称
    @TableField(value = "`route_name`")
    private String route_name;
    // 路线编号
    @TableField(value = "`route_number`")
    private String route_number;
    // 退订时间
    @TableField(value = "`unsubscribe_time`")
    private Timestamp unsubscribe_time;
    // 退订原因
    @TableField(value = "`reason_for_unsubscribing`")
    private String reason_for_unsubscribing;
    // 退款金额
    @TableField(value = "`refund_amount`")
    private String refund_amount;
    // 退款明细
    @TableField(value = "`refund_details`")
    private String refund_details;


    // 审核状态
    @TableField(value = "examine_state")
    private String examine_state;


    // 审核回复
    @TableField(value = "examine_reply")
    private String examine_reply;


    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;


}
